package org.dromara.business.service;

import org.dromara.business.domain.CompanyResumeLibrary;
import org.dromara.business.domain.vo.CompanyResumeLibraryVo;
import org.dromara.business.domain.bo.CompanyResumeLibraryBo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 公司简历库Service接口
 *
 * @author zlj
 * @date 2025-01-22
 */
public interface CompanyResumeLibraryService extends IService<CompanyResumeLibrary> {

    /**
     * 查询公司简历库
     */
    CompanyResumeLibraryVo queryById(Long id);

    /**
     * 查询公司简历库列表
     */
    TableDataInfo<CompanyResumeLibraryVo> queryPageList(CompanyResumeLibraryBo bo, PageQuery pageQuery);

    /**
     * 查询公司简历库列表
     */
    List<CompanyResumeLibraryVo> queryList(CompanyResumeLibraryBo bo);

    /**
     * 新增公司简历库
     */
    Boolean insertByBo(CompanyResumeLibraryBo bo);

    /**
     * 修改公司简历库
     */
    Boolean updateByBo(CompanyResumeLibraryBo bo);

    /**
     * 校验并批量删除公司简历库信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    TableDataInfo<CompanyResumeLibraryVo> getResumes(CompanyResumeLibraryBo bo, PageQuery pageQuery);
}
